from django.db import models
from django.utils import timezone
from rest_framework import generics

# Create your models here.
class Note(models.Model):
    body = models.TextField()
    date = models.DateTimeField(default=timezone.now)
    class Meta:
        ordering = ("-date",)
